<template>
  <van-swipe
    class="my-swipe"
    :autoplay="3000"
    indicator-color="white"
  >
    <van-swipe-item
      v-for="item in lunbolist"
      :key="item.id"
      ><img
        v-lazy="`${item.img || item.src}`"
        alt=""
    /></van-swipe-item>
  </van-swipe>
</template>
<script>
export default {
  props: ["lunbolist"],
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.my-swipe {
  height: 200px;
  img {
    width: 100%;
    height: 100%;
  }
}
</style>
